package type;

import lombok.Getter;

@Getter
public enum OperationType {
    ADD("ADD","用户添加记录"),
    DELETE("DELETE","用户删除记录"),
    UPDATE("UPDATE","用户更改记录"),
    SELECT("SELECT","用户查询记录"),
    UNKNOW_OPERATION("UNKNOW","未知操作");

     private final String code;
     private final String description;

     OperationType(String code, String description) {
         this.code = code;
         this.description = description;
     }
}
